var app = angular.module("wx", ["ui.router"]);

app.directive('ngTop', function() {
	return {
		templateUrl: "top.html"
	}
})

app.directive('ngLeft', function() {
	return {
		templateUrl: "left.html"
	}
})

app.config(
	['$stateProvider', '$urlRouterProvider', function($stateProvider, $urlRouterProvider, $httpProvider) {
		$urlRouterProvider.otherwise('/');
		$stateProvider.state('index', {
				url: "/",
				templateUrl: "lookBang.html",
				controller:'moreController',
			})
			.state("adminList", {
				url: "/adminList",
				templateUrl: "adminList.html"
			})
			.state("fllowList" ,{
				url: "/fllowList",
				templateUrl: "fllowList.html"
			})
			.state("examine" ,{
				url: "/examine",
				controller:"moreController",
				templateUrl: "examine.html"
			})
			.state("parameterSet" ,{
				url: "/parameterSet",
				controller:"moreController",
				templateUrl: "parameterSet.html"
			})
		  
			

	}])